package com.filldream.fastboot.base.response.pc.database;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class GenTableColumnDTO {

    @ApiModelProperty(value = "数据库字段名")
    private String fieldName;

    @ApiModelProperty(value = "数据库字段类型")
    private String fieldType;



    @ApiModelProperty(value = "字段描述")
    private String fieldRemark;

    @ApiModelProperty(value = "Swagger字段描述即数据库字段备注")
    private String columnComment;

    @ApiModelProperty(value = "Java字段类型")
    private String fieldJavaType = "String";

    @ApiModelProperty(value = "Java字段名")
    private String fieldJavaName;

    @ApiModelProperty(value = "插入是否需要")
    private Boolean addFlag = false;

    @ApiModelProperty(value = "编辑是否需要")
    private Boolean updateFlag = false;

    @ApiModelProperty(value = "列表/分页是否需要")
    private Boolean listFlag = false;

    @ApiModelProperty(value = "查询是否需要")
    private Boolean queryFlag = false;

    @ApiModelProperty(value = "查询方式 =，!=，>，>=，<，<=，Like，BETWEEN")
    private String fieldQueryType = "=";

    @ApiModelProperty(value = "是否必填")
    private Boolean requiredFlag = false;

    @ApiModelProperty(value = "显示类型 文本框，文本域，下拉框，单选框，日期框，复选框，图片，文件")
    private String showType = "文本框";

    @ApiModelProperty(value = "字典类型")
    private String dictType;











    @ApiModelProperty(value = "数据库字段类型,是否为主键之类的")
    private String fieldKeyType;

    @ApiModelProperty(value = "数据库字段类型,是否为主键之类的")
    private String extra;

}
